﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NHibernate.Mapping.Attributes;

namespace BidFunLib.Entity
{
    /// <summary>
    /// 
    /// </summary>
    [Class(Lazy=true)]
    public class StatsBidSale
    {
        /// <summary>
        /// Technical Identifier  
        /// </summary>
        [Id(Name = "IdStatsBidSale")]
        [Generator(Class = "native")] 
        virtual public Int32 IdStatsBidSale { get; set; }


        /// <summary>
        /// 
        /// </summary>
        [Property]
        virtual public DateTime WinDateTime { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [Property]
        virtual public Int32 IdDay { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [Property]
        virtual public Int32 NbUsersLogsOnThisSale { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [Property]
        virtual public Int32 IdBidSale { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [Property]
        virtual public Int32 IdBidOperatorType { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [Property]
        virtual public Int32 IdBidObject { get; set; }


        /// <summary>
        /// L'utilisateur a qui appartiennent les stats sur cet objet
        /// </summary>
        [Property]
        virtual public Int32 IdBidUser { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [Property]
        virtual public Int32 NbUsersConnected { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [Property]
        virtual public Int32 NbPointsPaidByWinner { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [Property]
        virtual public Double MeanPointsPaidByUsers { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [Property]
        virtual public Double Amount { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [Property]
        virtual public Double RealPrice { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [Property]
        virtual public Double PsychologicRatio { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [Property]
        virtual public Int32 NbBidsByBot { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [Property]
        virtual public Int32 NbBidsManual { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [Property]
        virtual public Int32 SaleDurationInSeconds { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public StatsBidSale()
        {
        }


    }

}
